/*
 * @Author: 赵鹏霄 
 * @Date: 2020-11-19 16:27:11 
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2020-11-19 16:35:25
 */
import { request } from 'umi'
//获取用户地址数据
export let getAddressList =()=>{
  return request('/address/list',{
    method:'GET',
  })
}
//获取删除地址数据
export let getAddressDelete =()=>{
  return request('/address/delete',{
    method:'POST',
  })
}
//新增地址
export let addAddress =()=>{
  return request('/address/save',{
    method:'POST',
  })
}